<template>
  <div class="container">
    <div class="pd bg-white">我的关注</div>
    <div class="list">
    <div class="flex flex-row pd bd-bottom flex-y-center bg-white" v-for="item,index in list">
      <img class="flex-grow-0" src="http://scimg.jb51.net/allimg/151120/14-151120094951S5.jpg">
      <div class="flex-grow-1 mg-r-l">
        <div class="title">您牵挂的玉麦乡建设得越来越好 美丽新边疆</div>
        <div class="info subtit">您牵挂的玉麦乡建设得越来越好 美丽新边疆</div>
      </div>
      <div class="flex-grow-0">
        <span class="guanzhu">已关注</span>
      </div>
    </div>
    </div>
    </div>
</template>
<script>
export default ({
  data() {
    return {
      list: [1, 2, 3, 4, 5, 6, 7]
    }
  }
})

</script>
<style>
.list{
	position:fixed;
	top:2rem;
	bottom:0;
	left:0;
	width:100%;
	overflow-x: hidden;
    overflow-y: croll;
}
img {
  height: 2rem;
  width: 2rem;
}

.title {
  color: #000000;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  word-break: break-all;
  font-size: .6rem;
}

.info {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  word-break: break-all;
  font-size: .6rem;
}

.guanzhu {
  display: inline-block;
  height: 1rem;
  width: 2.5rem;
  text-align: center;
  line-height: 1rem;
  background-color: #efefef;
  border-radius: .5rem;
  color: #666;
}

</style>
